<div class="row-fluid sortable">		
    <div class="box span12">
        <div class="box-header" data-original-title>
            <h2><i class="icon-user"></i><span class="break"></span>Danh sách thành viên</h2>
            <div class="box-icon">
                <a href="#" class="btn-setting"><i class="fa-icon-wrench"></i></a>
                <a href="#" class="btn-minimize"><i class="fa-icon-chevron-up"></i></a>
                <a href="#" class="btn-close"><i class="fa-icon-remove"></i></a>
            </div>
        </div>
        <div class="box-content">
            <table class="table table-striped table-bordered bootstrap-datatable datatable">
                <thead>
                    <tr>
                        <th>Tên(Bí Danh)</th>
                        <th>Email</th>
                        <th>Ngày đăng ký</th>
                        <th>Trạng thái</th>
                        <th>Actions</th>
                    </tr>
                </thead>   
                <tbody>
                    <?php foreach ($NguoiDungs as $NguoiDung) { ?>
                        <tr data-id="<?php echo $NguoiDung->Id; ?>">
                            <td><?php echo '<strong>' . $NguoiDung->Ten . '</strong><br />' . $NguoiDung->BiDanh; ?></td>
                            <td class="center"><?php echo $NguoiDung->Email; ?></td>
                            <td class="center"><?php echo date('d-m-Y H:i:s', strtotime($NguoiDung->NgayDangKy)); ?></td>
                            <td class="center">
                                <?php if ($NguoiDung->TrangThai) { ?>
                                    <span class="label label-info"><?php echo 'Hoạt động'; ?></span>
                                <?php } else { ?>
                                    <span class="label label-important"><?php echo 'Ngưng hoạt động'; ?></span>
                                <?php } ?>

                            </td>
                            <td class="center">
                                <a class="btn btn-info" href="#">
                                    <i class="fa-icon-edit icon-white" title="Xem và chỉnh sửa"></i>                                            
                                </a>
                                <a class="btn btn-success" href="#" title="Thu hồi quyền truy cập">
                                    <i class="fa-icon-ban-circle icon-white"></i>                                            
                                </a>
                                <a class="btn btn-danger" href="#" title="Xóa tài khoản">
                                    <i class="fa-icon-trash icon-white"></i> 
                                </a>
                            </td>
                        </tr>
                    <?php } ?>
                </tbody>
            </table>            
        </div>
    </div><!--/span-->

</div><!--/row-->
<div class="modal hide fade" id="ChiTietNguoiDungModal">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">×</button>
        <h3>Settings</h3>
    </div>
    <div class="modal-body">
        <p>Here settings can be configured...</p>
    </div>
    <div class="modal-footer">
        <a href="#" class="btn" data-dismiss="modal">Close</a>
        <a href="#" class="btn btn-primary">Save changes</a>
    </div>
</div>